<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html >
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Insert title here</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<title>部门增加</title>
</head>
<body>
<div class="container-fluid" style="padding-left:2px;padding-right:2px;">
	<ol class="breadcrumb" style="margin-bottom:5px;">
		  <li><a href="#">基础信息</a></li>
		  <li class="active">部门信息</li>
		  <li class="active">新增</li>
	</ol>
	<form action="DepDoAdd.do" method="post" style="padding-left:300px">
		  <div class="form-group">
			    <label for="d_id">部门编号</label>
			    <input type="text" class="form-control" id="d_id" name="d_id" placeholder="请输入部门编号" style="width:300px">
		  </div>
		  <div class="form-group">
			    <label for="d_name">部门名称</label>
			    <input type="text" class="form-control" id="d_name" name="d_name" placeholder="请输入部门名称" style="width:300px" >
		  </div>
		   <div class="form-group">
			    <label for="d_state">部门状态</label>
			    <input type="text" class="form-control" id="d_state" name="d_state" placeholder="请输入部门状态" style="width:300px">
		  </div>
	  <button type="submit" class="btn btn-default" id="bt1" >提交</button>
	</form>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-3.3.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
	document.getElementById("bt1").onclick=function(){
		return confirm("你真的要添加该部门吗？想好了哦！");
	}
</script>
</body>
</html>